package Model;

public class Money {
    private Integer Id;
    private String name;
    private String money;
    private String time;
    private Double balance;

    public Money() {
    }

    public Money(Integer Id, String name, String money, String time, Double balance) {
        this.Id = Id;
        this.name = name;
        this.money = money;
        this.time = time;
        this.balance = balance;
    }

    /**
     * 获取
     * @return Id
     */
    public Integer getId() {
        return Id;
    }

    /**
     * 设置
     * @param Id
     */
    public void setId(Integer Id) {
        this.Id = Id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return money
     */
    public String getMoney() {
        return money;
    }

    /**
     * 设置
     * @param money
     */
    public void setMoney(String money) {
        this.money = money;
    }

    /**
     * 获取
     * @return time
     */
    public String getTime() {
        return time;
    }

    /**
     * 设置
     * @param time
     */
    public void setTime(String time) {
        this.time = time;
    }

    /**
     * 获取
     * @return balance
     */
    public Double getBalance() {
        return balance;
    }

    /**
     * 设置
     * @param balance
     */
    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public String toString() {
        return "Money{Id = " + Id + ", name = " + name + ", money = " + money + ", time = " + time + ", balance = " + balance + "}";
    }
}
